dom.applyTemplate()

Availability 3.0
Description Applies a template to the current document. If no argument is supplied, the Select Template dialog box appears. This function is valid only for the active document.
Arguments {templateURL}
The argument is the path to a template in the current site, expressed as a file:// URL.
Returns Nothing.
Enabler dom.canApplyTemplate()